package com.ch.http.v1.impl;

import com.ch.http.v1.HttpServletImp;
import com.ch.http.v1.HttpServletRequest;
import com.ch.http.v1.HttpServletResponse;

import javax.servlet.annotation.WebServlet;

@WebServlet("/redirect.s")
public class RedirectServlet extends HttpServletImp {

    @Override
    public void doGet(HttpServletRequest request, HttpServletResponse response){
        response.sendRedirect("/index.html");
    }


}
